package org.zsk.cfl.servicetask;

import lombok.extern.slf4j.Slf4j;
import org.flowable.engine.delegate.DelegateExecution;
import org.flowable.engine.delegate.JavaDelegate;
import org.springframework.stereotype.Component;

/**
 * <p>
 * </p>
 *
 * @author zsk
 * @date 2020/11/17 上午10:01
 */
@Component("preServiceTask")
@Slf4j
public class PreServiceTask implements JavaDelegate {
    @Override
    public void execute(DelegateExecution delegateExecution) {
        log.debug("服务任务-preServiceTask");
        log.debug("服务任务： 流程实例id-{}",delegateExecution.getProcessInstanceId());
    }
}
